﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Happy_Wedding : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        bussiness bus = new bussiness();
        List<Ecard> lstEcard = bus.getAllEcard();
        List<Ecard> lstEcard_hpwd = new List<Ecard>();
        foreach (Ecard ecard in lstEcard)
        {
            if (ecard.TypeId == 2)
            {
                lstEcard_hpwd.Add(ecard);
            }
        }
        Repeater1.DataSource = lstEcard_hpwd;
        Repeater1.DataBind();
    }

    protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
    {

    }
}